﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020003A9 RID: 937
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class DeleteSummonUnitCsReq : IMessage<DeleteSummonUnitCsReq>, IMessage, IEquatable<DeleteSummonUnitCsReq>, IDeepCloneable<DeleteSummonUnitCsReq>, IBufferMessage
	{
		// Token: 0x17000C07 RID: 3079
		// (get) Token: 0x060029EF RID: 10735 RVA: 0x00074068 File Offset: 0x00072268
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<DeleteSummonUnitCsReq> Parser
		{
			get
			{
				return DeleteSummonUnitCsReq._parser;
			}
		}

		// Token: 0x17000C08 RID: 3080
		// (get) Token: 0x060029F0 RID: 10736 RVA: 0x0007406F File Offset: 0x0007226F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return DeleteSummonUnitCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000C09 RID: 3081
		// (get) Token: 0x060029F1 RID: 10737 RVA: 0x00074081 File Offset: 0x00072281
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return DeleteSummonUnitCsReq.Descriptor;
			}
		}

		// Token: 0x060029F2 RID: 10738 RVA: 0x00074088 File Offset: 0x00072288
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DeleteSummonUnitCsReq()
		{
		}

		// Token: 0x060029F3 RID: 10739 RVA: 0x0007409B File Offset: 0x0007229B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DeleteSummonUnitCsReq(DeleteSummonUnitCsReq other) : this()
		{
			this.entityIdList_ = other.entityIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060029F4 RID: 10740 RVA: 0x000740C5 File Offset: 0x000722C5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DeleteSummonUnitCsReq Clone()
		{
			return new DeleteSummonUnitCsReq(this);
		}

		// Token: 0x17000C0A RID: 3082
		// (get) Token: 0x060029F5 RID: 10741 RVA: 0x000740CD File Offset: 0x000722CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> EntityIdList
		{
			get
			{
				return this.entityIdList_;
			}
		}

		// Token: 0x060029F6 RID: 10742 RVA: 0x000740D5 File Offset: 0x000722D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as DeleteSummonUnitCsReq);
		}

		// Token: 0x060029F7 RID: 10743 RVA: 0x000740E3 File Offset: 0x000722E3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(DeleteSummonUnitCsReq other)
		{
			return other != null && (other == this || (this.entityIdList_.Equals(other.entityIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060029F8 RID: 10744 RVA: 0x00074118 File Offset: 0x00072318
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.entityIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060029F9 RID: 10745 RVA: 0x0007414C File Offset: 0x0007234C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060029FA RID: 10746 RVA: 0x00074154 File Offset: 0x00072354
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060029FB RID: 10747 RVA: 0x0007415D File Offset: 0x0007235D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.entityIdList_.WriteTo(ref output, DeleteSummonUnitCsReq._repeated_entityIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060029FC RID: 10748 RVA: 0x00074184 File Offset: 0x00072384
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.entityIdList_.CalculateSize(DeleteSummonUnitCsReq._repeated_entityIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060029FD RID: 10749 RVA: 0x000741BD File Offset: 0x000723BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(DeleteSummonUnitCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.entityIdList_.Add(other.entityIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060029FE RID: 10750 RVA: 0x000741EB File Offset: 0x000723EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060029FF RID: 10751 RVA: 0x000741F4 File Offset: 0x000723F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U && num != 34U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.entityIdList_.AddEntriesFrom(ref input, DeleteSummonUnitCsReq._repeated_entityIdList_codec);
				}
			}
		}

		// Token: 0x04001098 RID: 4248
		private static readonly MessageParser<DeleteSummonUnitCsReq> _parser = new MessageParser<DeleteSummonUnitCsReq>(() => new DeleteSummonUnitCsReq());

		// Token: 0x04001099 RID: 4249
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400109A RID: 4250
		public const int EntityIdListFieldNumber = 4;

		// Token: 0x0400109B RID: 4251
		private static readonly FieldCodec<uint> _repeated_entityIdList_codec = FieldCodec.ForUInt32(34U);

		// Token: 0x0400109C RID: 4252
		private readonly RepeatedField<uint> entityIdList_ = new RepeatedField<uint>();
	}
}
